home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Win2K Oakley Log.xpl < prev    next >
Text File  |  2001-04-28  |  2KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Network\TCP/IP"
  5. "UIPATH 2"="System\Debugging"
  6. "NAME"="IPSec Logging"
  7. "OSVERSION"="0001011"
  8. "VERSION"="1.15"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Log IPSec events"
  11. "DESCRIPTION 1"="This setting can be used for troubleshooting Internet Protocol Security (IPSec) dependent on the Internet Key Exchange (IKE) protocol."
  12. "DESCRIPTION 2"="Checked box enables IPSec (Oakley) logging; unchecked [cleared] box disables Oakley logging."
  13. "DESCRIPTION 3"="Once enabled, you will find the file OAKLEY.LOG inside the "%SystemRoot%\debug" folder."
  14. "DESCRIPTION 4"="See: http://support.microsoft.com/support/kb/articles/Q257/2/25.ASP"
  15. "AUTHOR"="Ojatex@aol.com"
  16. "CONTACTURL"="http://members.aol.com/ojatex/"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=""
  19. "COMMENT 2"="Thanks to CptSiskoX for suggested plugin."
  20. "COMMENT 3"="See MSKB articles: http://support.microsoft.com/support/kb/articles/Q231/5/87.ASP & http://support.microsoft.com/support/kb/articles/Q231/5/85.ASP for more information about Oakley Logging."
  21.  
  22. Sub Plugin_Initialize 
  23.  i=RegReadValue("HKLM\System\CurrentControlSet\Services\PolicyAgent\Oakley\EnableLogging")
  24.  if i=1 then SetUIElement 1,true
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  
  32.  b=GetUIElement(1)
  33.  if b=true then
  34.     Call RegWriteValue("HKLM\System\CurrentControlSet\Services\PolicyAgent\Oakley\EnableLogging","1",2)
  35.  else
  36.     Call RegWriteValue("HKLM\System\CurrentControlSet\Services\PolicyAgent\Oakley\EnableLogging","0",2)
  37.  end if
  38.  
  39.  Call Restart
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.